<!--conf
<sample in_favorites="true">
              <product version="1.4" edition="pro"/>
                     <modifications>
                            <modified date="070101"/>
                     </modifications>
               <sampledescription><![CDATA[Split dhtmlxTreeGrid content into two parts to have the ability to scroll them independently.]]></sampledescription></sample>
 --> 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
	<title>TreeGrid Split Mode</title>	
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" type="text/css" href="../../../codebase/dhtmlx.css"/>
	<script src="../../../codebase/dhtmlx.js"></script>


</head>

<script>
	function doOnLoad(){
		mygrid = new dhtmlXGridObject('gridbox');
		mygrid.setImagePath("../../../codebase/imgs/");
		mygrid.setIconPath("../common/images/");
		mygrid.setHeader("Tree,Price,Note");
		mygrid.setInitWidths("200,150,100")
		mygrid.setColAlign("left,right,center")
		mygrid.setColTypes("tree,price,ch");
		mygrid.setColSorting("str,str,str")
   	  	mygrid.init();
		mygrid.setSkin("dhx_skyblue")
        mygrid.splitAt(1);
        mygrid.loadXML("../common/treegrid_sample_07_split.xml");
	}
</script>
<body onload="doOnLoad()">
	
	<h1>TreeGrid Split Mode</h1>
	<p>Enabling Split mode with script</p>
	
	<div id="gridbox" width="400px" height="250px" style="background-color:white;"></div>
</body>
</html>
